package com.uchedao.seller.model;

/**
 * Created by ZhangZhanghua on 2015/10/24 0024.
 */
public class ModelEntity extends IndexSelectItem{
    public static final String SELECT_MODEL = " select * from car_model where series_id=? order by model_year desc";
//    id	int	ID
//    name	int	名称 别名text
//    model_year	int	年款
    private  int id;
    private  String name;
    private  String model_year;

    private int series_id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getModel_year() {
        return model_year;
    }

    public void setModel_year(String model_year) {
        this.model_year = model_year;
    }

    public int getSeries_id() {
        return series_id;
    }

    public void setSeries_id(int series_id) {
        this.series_id = series_id;
    }

    @Override
    public String getIndexSelectAlpha() {
        return model_year;
    }

    @Override
    public String getIndexSelectName() {
        return name;
    }
}
